﻿using System;
using System.Collections.Generic;
using CodeFirstMembershipSharp;

namespace StyleCreator.Entities
{
    public class Look
    {
        public Look()
        {
            this.Tags = new HashSet<Tag>();
            this.Comments = new HashSet<Comment>();
            this.Items = new HashSet<Item>();
            this.Photos = new HashSet<Photo>();
            this.Scores = new HashSet<Score>();
        }

        public int LookID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime? PublishDate { get; set; }
        public bool IsPublic { get; set; }
        public int Views { get; set; }
        public Guid AuthorID { get; set; }

        public virtual User Author { get; set; }
        public virtual ICollection<Tag> Tags { get; set; }
        public virtual Category Category { get; set; }
        public virtual ICollection<Comment> Comments { get; set; }
        public virtual ICollection<Item> Items { get; set; }
        public virtual ICollection<Photo> Photos { get; set; }
        public virtual ICollection<Score> Scores { get; set; }
    }

}